package com.todo.strategy.online.iface.backend.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author zhangwenxiang
 * @date 2024/3/17 19:35
 * @description
 */
@Data
@Schema(title = "多条件查询用户攻略出参", description = "多条件查询用户攻略出参")
public class QueryUserStrategyByConditionResp {

    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(title = "主键id", description = "主键id")
    private Long planId;

    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(title = "用户id", description = "用户id")
    private Long userId;

    @Schema(title = "标题", description = "标题")
    private String title;

    @Schema(title = "主图", description = "主图")
    private String mainImg;

    @Schema(title = "计划开始时间", description = "计划开始时间")
    private Date startPlanTime;

    @Schema(title = "计划结束时间", description = "计划结束时间")
    private Date endPlanTime;

    @Schema(title = "计划城市", description = "计划城市")
    private String planCity;

    @Schema(title = "关联内部数量", description = "关联内部数量")
    private Integer relationCount;

    @Schema(title = "计划类型", description = "计划类型")
    private Integer planType;

    @Schema(title = "计划类型描述", description = "计划类型描述")
    private String planTypeStr;

    @Schema(title = "状态", description = "状态")
    private Integer status;

    @Schema(title = "是否出行", description = "是否出行")
    private Integer isTravel;

    @Schema(title = "出行状态", description = "出行状态 0-未开始 1-进行中 2-已完成")
    private Integer travelStatus;
}
